projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce75f23
)
xend: Slightly finesse allocation of vmpath in xenstore.
author
Keir Fraser
<keir@xensource.com>
Wed, 26 Sep 2007 16:11:07 +0000
(17:11 +0100)
committer
Keir Fraser
<keir@xensource.com>
Wed, 26 Sep 2007 16:11:07 +0000
(17:11 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 35149ed4ebc217faf8b87262573e151a997922fc..73ae50bffbf08edaed5d950c4a6412bc81b3de47 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-355,7
+355,9
@@
class XendDomainInfo:
self.vmpath = vmpath
i = 0
while self.vmpath == None:
- self.vmpath = XS_VMROOT + self.info['uuid'] + '/' + str(i)
+ self.vmpath = XS_VMROOT + self.info['uuid']
+ if i != 0:
+ self.vmpath = self.vmpath + '-' + str(i)
try:
if self._readVm("uuid"):
self.vmpath = None